$(function () {

    $("#qykhh_qyjg_id").qyjgcomboboxforsearch({
        onLoadSuccess: function () {
            if ($("#qkkhh_qyjgid").val()) {
                $(this).combobox('setValue', $("#qkkhh_qyjgid").val());
                $(this).combobox('setText', $("#qkkhh_qyjgjc").val());
            }
        }/*,
        onSelect: function (newValue, oldValue) {
            $.get($.webPath() + "/organ/qykhh/get_nextpxh", {qyjgId: newValue}, function (response, status, xhr) {
                $('[numberboxname="qykhh.pxh"]').val(response);
                $("[name='qykhh.pxh']").val(response);
            }, "text");
        }*/
    });

/*
    if (!$("#qykhh_id").val())
        $.get($.webPath() + "/organ/qykhh/get_nextpxh", {qyjgId: $("#qykhh_qyjg_id").combobox('getValue')}, function (response, status, xhr) {
            $('[numberboxname="qykhh.pxh"]').val(response);
            $("[name='qykhh.pxh']").val(response);
        }, "text");*/

})